package com.wwj.study.rmi.demo.server;


import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

public class HelloWorldImpl  extends UnicastRemoteObject implements IHelloWorld {

    protected HelloWorldImpl() throws RemoteException {
        super();
    }

    public String sayHello(String name) throws RemoteException {
        return "hello "+name;
    }
}
